package com.xqls.bean;


import java.io.Serializable;
import java.util.List;

@SuppressWarnings("serial")
public class ExportBean implements Serializable {
    /**
     * 表格名称
     */

    private String  sheetName;


    /**
     * 表格多显示的内容跨的格
     */
    private Integer containHeadTdColspan;
    /**
     * 表格多显示的内容
     */
    private String  containHeadTdHtml;
    /**
     * 表格名称
     */
    private List<String> thNames;

    /**
     * 表格数据
     */
    private  List<List<String>> dataLIst;




    public Integer getContainHeadTdColspan() {
        return containHeadTdColspan;
    }

    public void setContainHeadTdColspan(Integer containHeadTdColspan) {
        this.containHeadTdColspan = containHeadTdColspan;
    }

    public String getContainHeadTdHtml() {
        return containHeadTdHtml;
    }

    public void setContainHeadTdHtml(String containHeadTdHtml) {
    	int beginIndex=containHeadTdHtml.indexOf(">", 0);
    	int endIndex=containHeadTdHtml.indexOf("</", beginIndex);
    	if(beginIndex>0&&endIndex>beginIndex)
    	{
    		this.containHeadTdHtml = containHeadTdHtml.substring(beginIndex+1, endIndex);
    	}
    	else
    	{
    		this.containHeadTdHtml=containHeadTdHtml;
    	}
    }

    public List<String> getThNames() {
        return thNames;
    }

    public void setThNames(List<String> thNames) {
        this.thNames = thNames;
    }

    public  List<List<String>> getDataLIst() {
        return dataLIst;
    }

    public void setDataLIst( List<List<String>> dataLIst) {
        this.dataLIst = dataLIst;
    }

    public String getSheetName() {
        return sheetName;
    }

    public void setSheetName(String sheetName) {
        this.sheetName = sheetName;
    }
}
